package org.rcy.ruicingmarket.goods;

import lombok.Data;
import org.rcy.framework.api.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author 吴康桥
 * @Description
 * @date 2022/9/14 14:09
 */

@Data
@Entity
@Table(name = "goods_detail")
public class GoodsDetail extends BaseEntity {

	private static final long serialVersionUID = 1L;

	private Long goodsId; //商品id

	private String description; //商品描述

	@Column(name = "detail_img_1")
	private String detailImg1;  //商品详情图1
	@Column(name = "detail_img_2")
	private String detailImg2; //商品详情图2
	@Column(name = "detail_img_3")
	private String detailImg3; //商品详情图3
	@Column(name = "detail_img_4")
	private String detailImg4; //商品详情图4

	private String attrs; //固有属性

	private String featureInfo; //商品特色

	private Integer commentcount; //商品评论数

	private Integer monthlySales; //商品月销量

	private Integer price;//单价

	private Integer stock;//库存

	private Date createTime;

	private Date updatetime;
}
